<template>
  <div id="app">
    <div class="school-my school-border" @click="change(v)" v-for="(v, i) in user" :key="i">
      <div class="school-position-aside">
        <i-image round width="50" height="50" fit="contain" lazy-load :src="v.headimg" />
      </div>
      <div class="school-position-main">
        <div class="school-my">
          <div class="school-position-main" style="line-height: 30px;">
            <div>{{v.name}}</div>
            <div>{{v.phonenum}}</div>
          </div>
          <div class="school-position-aside" style="line-height: 60px;">
            <i-button size="small" color="#0090ff" plain v-if="v.ID == ID" >当前账号</i-button>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import a from './a'
export default a
</script>

<style scoped>
.school-my {
  height: 60px;
  display: flex;
  flex-direction: row;
  flex: 1;
  flex-basis: auto;
  box-sizing: border-box;
}
.school-position-aside {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 80px;
  text-align: center;
}
.school-position-main {
  display: block;
  flex: 1;
  flex-basis: auto;
}
.school-border {
  border-bottom: 1px solid #efefef;
  background: #ffffff;
  align-items: center;
  justify-content: center;
}
</style>